package com.link.base.base.user.service;

import com.link.base.base.user.dao.mybatis.mapper.OnlineUserMapper;
import com.link.base.base.user.model.OnlineUser;
import com.link.core.basic.dao.mapper.BasicMapper;
import com.link.core.basic.service.BasicServiceImpl;
import javax.annotation.Resource;

import org.springframework.stereotype.Service;

import java.util.List;

/**
 * @author unknown
 * @date unknown
 * @comments 在线用户
 */
@Service
public class OnlineUserServiceImpl extends BasicServiceImpl<OnlineUser> implements OnlineUserService {

    @Resource
    private OnlineUserMapper onlineUserMapper;

    @Override
    public BasicMapper<OnlineUser> getBasicMapper() {
        return onlineUserMapper;
    }

    @Override
    public List<OnlineUser> querySessionIdListPage(OnlineUser onlineUser) throws Exception {
        return onlineUserMapper.querySessionIdListPage(onlineUser);
    }
}
